﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta name="description" content="Control y Monitoreo de variables." />
    <link href="@Url.Content("~/Content/css/style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/flexslider.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/Calendar_Style.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/css/SpryMenuBarHorizontal.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jqueryuv.js")" type="text/javascript"></script>
    <script src="@Url.Content("https://maps.google.com/maps/api/js?sensor=false")" type="text/javascript"></script>
    <script src="@Url.Content("~/swfupload/swfupload.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/handlers.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery.mapa.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery.flexslider-min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery_calendar.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery.ui.datepicker-es.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery-ui-timepicker-addon.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery.tablesorter.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Scripts_sicom/jquery.tablesorter.pager.js")" type="text/javascript"></script>
</head>
<body>
    <div id="containercompleto">
        <!--Header-->
        <div id="header">
            <div class="left">
                Pitalito - Huila - Colombia -&nbsp;&nbsp;
                <script src="@Url.Content("~/Scripts/Scripts_sicom/Hora.js")" type="text/javascript"></script>
            </div>
            <div class="right">
                <img src="../../Content/img/Icons.png" alt="Social Media" width="304" height="47"
                    border="0" usemap="#Map" title="Social Media" />
                <map name="Map" id="Map">
                    <area shape="rect" coords="94,3,148,47" href="http://www.youtube.com/user/SENATV?feature=watch"
                        alt="Canal de YouTube" title="Canal de YouTube" />
                    <area shape="rect" coords="152,3,200,47" href="http://www.facebook.com/comunidadaprendizaje"
                        alt="Siguenos en Facebook" title="Siguenos en Facebook" />
                    <area shape="rect" coords="253,3,304,46" href="http://www.bing.com/" alt="Visita Blogger"
                        title="Visita Blogger" />
                    <area shape="rect" coords="203,3,254,46" href="http://twitter.com/senaenred" alt="Siguenos en Twitter"
                        title="Siguenos en Twitter" />
                </map>
            </div>
        </div>
        <!--Fin del Header-->
        <!--Banner-->
        @if (ViewBag.slide == "true")
        { 

            <div id="ContainerBanner">
                <div class="flexslider">
                    <ul class="slides">
                        <li>
                            <img src="../../Content/img/banner_3.png" usemap="#Map2" width="900" height="350"
                                border="0" />
                            <map name="Map2" id="Map2">
                                <area shape="rect" coords="35,9,177,122" href="@Url.Action("Index", "Inicio")" alt="Canal de YouTube"
                                title="Volver a Inicio" />
                            </map>
                        </li>
                        <li>
                            <img src="../../Content/img/banner_1.png" usemap="#Map3" width="900" height="350"
                                border="0" />
                            <map name="Map3" id="Map3">
                                <area shape="rect" coords="35,9,177,122" href="@Url.Action("Index", "Inicio")" alt="Canal de YouTube"
                                title="Volver a Inicio" />
                            </map>
                        </li>
                        <li>
                            <img src="../../Content/img/banner_2.png" usemap="#Map4" width="900" height="350"
                                border="0" />
                            <map name="Map4" id="Map4">
                                <area shape="rect" coords="35,9,177,122" href="@Url.Action("Index", "Inicio")" alt="Canal de YouTube"
                                title="Volver a Inicio" />
                            </map>
                        </li>
                    </ul>
                </div>
            </div>
        }
        <!--Fin del Banner-->
        <!--Menu-->
        <div id="nav">
            @if (ViewBag.user == "private")
            {
                <ul class="MenuBarHorizontal">
                    @if (ViewBag.perfil != 1)
                    {
                        <li>@Html.ActionLink("Reporte", "Index", "Reporte")</li>
                        <li>@Html.ActionLink("Ayuda", "Index", "AyudaPrivada")</li>
                        <li>@Html.ActionLink("Cerrar Sesion", "salir", "Inicio")</li>
                    }
                    else
                    {
                        <li>@Html.ActionLink("Configuración", "Index", "Proyecto")</li>
                        <li>@Html.ActionLink("Reporte", "Index", "Reporte")</li>
                        <li>@Html.ActionLink("Ayuda", "Index", "AyudaPrivada")</li>
                        <li>@Html.ActionLink("Cerrar Sesion", "salir", "Inicio")</li>
                    }
                </ul>
            }
            else
            {
                <ul class="MenuBarHorizontal">
                    <li>@Html.ActionLink("Consultar", "Index", "Mapa")</li>
                    <li>@Html.ActionLink("Acerca de", "Index", "AcercaDe")</li>
                    <li>@Html.ActionLink("Ayuda", "Index", "Ayuda")</li>
                </ul>
            }
        </div>
        <!--Fin del Menu-->
        <!--Contenido-->
        <div id="Contenido">
            <!--Lateral-->
            <div id="Lateral">
                <div id="Enlaces">
                    <div class="l">
                        @RenderSection("menuLateral")
                    </div>
                </div>
                @using (Html.BeginForm("Ingresar", "Inicio", "Post"))
                {

                    if (ViewBag.user != "private")
                    {
                    <div id="login">
                        <h6 class="log">
                            Iniciar Sesion</h6>
                        <!--tabla de el login-->
                        <br />
                        <table id="logincamp">
                            <tbody>
                                <tr>
                                    <td>
                                        Usuario:
                                    </td>
                                    <td>
                                        <input type="text" size="15" name="txtUser" id="txtUser">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Contrase&ntilde;a:
                                    </td>
                                    <td>
                                        <input type="password" size="15" name="txtPass" id="txtPass">
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <input type="submit" name="Login" value="Ingresar" id="buttondiv">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    }
                }
                <div align="center">@Html.ValidationMessage("Mensagge")</div>
                <div id="Eventos2">
                    <div id="datepicker">
                    </div>
                </div>
            </div>
            <!--Fin de Lateral-->
            <!--Principal-->
            <div id="principal">
                @if (IsSectionDefined("equipoMedicion"))
                {
                    @RenderSection("equipoMedicion")
                }
                @if (IsSectionDefined("javascript"))
                {
                    @RenderSection("javascript")
                }
            </div>
        </div>
        <!--Fin de la principal-->
        <!--Fin del Contenido-->
        <!--Footer-->
        <div id="footer">
            <div class=" textoFooter">
                <br />
            </div>
        </div>
        <!--Fin footr-->
    </div>
</body>
</html>
